package com.csj.DesignPattern.adapter.abstractAdapter;

//类似于InputStream类
public class TFCardImpl implements TFCard {
    @Override
    public String readTF() {
        return "TFCard read msg : hello!";
    }

    @Override
    public void writeTF(String msg) {
        System.out.println("TFCard write msg : " + msg);
    }
}
/*
public abstract class InputStream {
    public abstract int read() {
    }

    public int read(byte b[], int off, int len) {
    }
}
 */